﻿//#define TEST_SDK

#if UNITY_EDITOR && !TEST_SDK

using Cysharp.Threading.Tasks;

namespace KuiHuaBaoDian.SDK {

    public static partial class API {

        private partial class Implementation {

            public UniTask<IAPI.ISystemInfo> GetSystemInfo(string inviterKey = null) {
                IsEnabled = true;
                UnityEngine.Application.targetFrameRate = 300;

                var systemInfo = new SystemInfo();
                return UniTask.FromResult<IAPI.ISystemInfo>(systemInfo);
            }
        }
    }
}
#endif